Skip to content

Conversation

DimitriPapadopoulos
Copy link
Contributor

The default glob includes LICEN[CS]E* which covers LICENSE.txt.

hatch/backend/src/hatchling/metadata/core.py
Line 746 in pypa/hatch@28f233c

                globs = ['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']

TODO:

  • Add unit tests and/or doctests in docstrings
  • Add docstrings and API docs for any new/modified user-facing classes and functions
  • New/modified features documented in docs/user-guide/*.rst
  • Changes documented as a new file in changes/
  • GitHub Actions have all passed
  • Test coverage is 100% (Codecov passes)

The default glob includes `LICEN[CS]E*` which covers `LICENSE.txt`.
@github-actions github-actions bot added the needs release notes Automatically applied to PRs which haven't added release notes label Aug 1, 2025
@dstansby
Copy link
Contributor

dstansby commented Aug 1, 2025

🤷 I see no harm in leaving this in explicitly

@DimitriPapadopoulos
Copy link
Contributor Author

It's just an attempt to keep the configuration file lean. In all the build backends I've used, the default glob includes LICEN[CS]E* so that files with standard names are picked up implicitly.

@DimitriPapadopoulos DimitriPapadopoulos deleted the license-files branch August 6, 2025 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs release notes Automatically applied to PRs which haven't added release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants